<template>
    <div class="nofound_page">
        <div class="img_box">
            <img src="@/assets/images/404@1x.png" alt="" />
        </div>
        <!-- <div class="title">UH OH! 页面丢失</div> -->
        <div class="sub_title">抱歉！页面出错啦！</div>
        <div class="btn_group">
            <el-button type="primary" plain round class="btn" @click="goHome">返回首页</el-button>
        </div>
</div>
</template>
<script>
export default {
    data() {
        return {

        }
    },
    methods: {
        // 返回首页
        goHome() {
            this.$router.push({
                path: '/home'
            })
        }
    }
}
</script>
<style lang="less" scoped>
.nofound_page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;

    .img_box {
        margin-bottom: 24px;

        img {
            width: 217px;
        }
    }

    .title {
        font-size: 18px;
        line-height: 2;
    }

    .sub_title {
        width: 70%;
        font-size: 14px;
        color: #999;
        line-height: 2;
    }

    .btn_group {
        margin-top: 36px;

        .btn {
            width: 160px;
        }
    }
}
</style>